package com.gylang.im.socket.process.controller;

import com.gylang.netty.sdk.annotation.NettyMapping;
import com.gylang.netty.sdk.domain.MessageWrap;
import com.gylang.netty.sdk.domain.model.IMSession;
import com.gylang.spring.netty.annotation.NettyParam;
import com.gylang.spring.netty.annotation.SpringNettyController;
import lombok.extern.slf4j.Slf4j;

/**
 * @author gylang
 * data 2020/11/26
 * @version v0.0.1
 */
@SpringNettyController("test")
@Slf4j
public class TestController  {


    @NettyMapping("test")
    public void test(String name, IMSession session, @NettyParam("dd") String hah, MessageWrap messageWrap) {
        log.info("{}", name);
        log.info("{}", hah);
        log.info("{}", session);
        log.info("{}", messageWrap);
    }
}
